package io.itit.ecp.admin.server.entity;

import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.itit.grass.common.server.entity.BaseTenantEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;

import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 *
 * @Author：Roy
 * @Description：碳汇数据
 * @Date：Create by 2023-12-01 10:45:08
 */
@Data
@ToString
@EqualsAndHashCode(callSuper = true)
@TableName("ecp_tt_carbon_sink_data")
public class CarbonSinkDataEntity extends BaseTenantEntity {

    private static final long serialVersionUID = 1L;

    /* 数据时间 */
    private Date solidifyDate;

    /* 项目Id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneProjectId;

    /* 楼栋Id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneEdificeId;

    /* 楼层Id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneFloorId;

    /* 空间Id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String sceneRoomId;

    /* 碳汇因子Id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String carbonSinkId;

    /* 碳汇表id */
    @TableField(updateStrategy = FieldStrategy.ALWAYS)
    private String type;

    /* 碳汇类型(1:园区碳汇,2:外购碳汇),EmissionSinkForecastDataSinkTypeEnums */
    private String sinkType;

    /* 面积(㎡) */
    private BigDecimal area;

    /* 减碳量(kgCO2) */
    private BigDecimal carbonEmission;

    /* 减碳量(计算过程) */
    private String carbonEmissionProcess;

    /* 机构Id */
    private String deptId;

}